package com.allenblog.service;

import com.allenblog.domain.ResponseResult;
import com.allenblog.domain.entity.User;

public interface LoginService {

    /**
     * 登录功能
     * @param user
     * @return
     */
    ResponseResult login(User user);

    /**
     * 退出登录
     * @return
     */
    ResponseResult logout();
}
